package com.example.pertecttime.fragent.friend;

import android.widget.ListView;

import com.example.pertecttime.R;
import com.example.pertecttime.adapter.MyListViewAdapter;
import com.example.pertecttime.base.BaseFragment;

/**
 * Created by 半生瓜 on 2017/7/21.
 */

public class FriendFragment extends BaseFragment<FriendPresent, EriendModel> {
    public String[] data=new String[]{"2017.04.1","2017.04.1","2017.04.1","2017.04.4","2017.04.5","2017.04.5","2017.04.5","2017.04.14"};
//    private String[]time={"01:00","02:00","03:00","04:00","04:00","04:00","04:00","00:00"};
//    private String[]value={"开会","吃饭","工作","交材料","去出差","坐火车","坐汽车","生日"};
    ListView fri_listv;
    MyListViewAdapter adapter;
    @Override
    public int getLayoutId() {
        return R.layout.friendslayout;
    }

    @Override
    public void initView() {
        fri_listv = (ListView) getActivity().findViewById(R.id.fri_listv);
        adapter=new MyListViewAdapter(context,data);
        fri_listv.setAdapter(adapter);
    }

    @Override
    public void initclicklisten() {

    }


}
